<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CRM.University.DBAccess" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CRM.University.DBAccess" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:8555/CRM.University.WebService.xamlx?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/System.Data.Linq" />
  <xs:complexType name="ArrayOfClass">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Class" nillable="true" type="tns:Class" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfClass" nillable="true" type="tns:ArrayOfClass" />
  <xs:complexType name="Class">
    <xs:sequence>
      <xs:element minOccurs="0" name="Class_ID" type="xs:int" />
      <xs:element minOccurs="0" name="Course" nillable="true" type="tns:Course" />
      <xs:element minOccurs="0" name="Course_ID" type="xs:int" />
      <xs:element minOccurs="0" name="DaySchedules" nillable="true" type="tns:ArrayOfDaySchedule" />
      <xs:element minOccurs="0" name="Duration" type="xs:int" />
      <xs:element minOccurs="0" name="GroupClasses" nillable="true" type="tns:ArrayOfGroupClass" />
      <xs:element minOccurs="0" name="IsHalf" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="Lab" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="Prof_ID" type="xs:int" />
      <xs:element minOccurs="0" name="Professor" nillable="true" type="tns:Professor" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Class" nillable="true" type="tns:Class" />
  <xs:complexType name="Course">
    <xs:sequence>
      <xs:element minOccurs="0" name="Classes" nillable="true" type="tns:ArrayOfClass" />
      <xs:element minOccurs="0" name="Course_ID" type="xs:int" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Course" nillable="true" type="tns:Course" />
  <xs:complexType name="ArrayOfDaySchedule">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="DaySchedule" nillable="true" type="tns:DaySchedule" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDaySchedule" nillable="true" type="tns:ArrayOfDaySchedule" />
  <xs:complexType name="DaySchedule">
    <xs:sequence>
      <xs:element minOccurs="0" name="Class" nillable="true" type="tns:Class" />
      <xs:element minOccurs="0" name="Class_id" type="xs:int" />
      <xs:element minOccurs="0" name="DayOfWeek" type="xs:int" />
      <xs:element minOccurs="0" name="Pair" type="xs:int" />
      <xs:element minOccurs="0" name="Room" nillable="true" type="tns:Room" />
      <xs:element minOccurs="0" name="Room_id" type="xs:int" />
      <xs:element minOccurs="0" name="id" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DaySchedule" nillable="true" type="tns:DaySchedule" />
  <xs:complexType name="Room">
    <xs:sequence>
      <xs:element minOccurs="0" name="DaySchedules" nillable="true" type="tns:ArrayOfDaySchedule" />
      <xs:element minOccurs="0" name="IsLab" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Room_ID" type="xs:int" />
      <xs:element minOccurs="0" name="Size" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Room" nillable="true" type="tns:Room" />
  <xs:complexType name="ArrayOfGroupClass">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="GroupClass" nillable="true" type="tns:GroupClass" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfGroupClass" nillable="true" type="tns:ArrayOfGroupClass" />
  <xs:complexType name="GroupClass">
    <xs:sequence>
      <xs:element minOccurs="0" name="Class" nillable="true" type="tns:Class" />
      <xs:element minOccurs="0" name="Class_ID" type="xs:int" />
      <xs:element minOccurs="0" name="Group" nillable="true" type="tns:Group" />
      <xs:element minOccurs="0" name="Groupd_ID" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GroupClass" nillable="true" type="tns:GroupClass" />
  <xs:complexType name="Group">
    <xs:sequence>
      <xs:element minOccurs="0" name="GroupClasses" nillable="true" type="tns:ArrayOfGroupClass" />
      <xs:element minOccurs="0" name="Group_ID" type="xs:int" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Pupils" nillable="true" type="tns:ArrayOfPupil" />
      <xs:element minOccurs="0" name="Size" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Group" nillable="true" type="tns:Group" />
  <xs:complexType name="ArrayOfPupil">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Pupil" nillable="true" type="tns:Pupil" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPupil" nillable="true" type="tns:ArrayOfPupil" />
  <xs:complexType name="Pupil">
    <xs:sequence>
      <xs:element minOccurs="0" name="Group" nillable="true" type="tns:Group" />
      <xs:element minOccurs="0" name="Group_ID" type="xs:int" />
      <xs:element minOccurs="0" name="PUp_Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Pupil_ID" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Pupil" nillable="true" type="tns:Pupil" />
  <xs:complexType name="Professor">
    <xs:sequence>
      <xs:element minOccurs="0" name="Classes" nillable="true" type="tns:ArrayOfClass" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="Image" nillable="true" type="q1:Binary" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Prof_ID" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Professor" nillable="true" type="tns:Professor" />
  <xs:complexType name="ArrayOfGroup">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Group" nillable="true" type="tns:Group" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfGroup" nillable="true" type="tns:ArrayOfGroup" />
  <xs:complexType name="ArrayOfRoom">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Room" nillable="true" type="tns:Room" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRoom" nillable="true" type="tns:ArrayOfRoom" />
</xs:schema>